<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="created" content="2019-03-16T06:18:10.521000000">
    <meta name="changed" content="2020-02-11T06:18:42.262000000">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Language" content="en">
    <title>
      Pop-up menus and files
    </title>
    <link rel="stylesheet" type="text/css" href="../../style.css">
  </head>
  <body>
    <div class="maindiv">
      <h1>
        Pop-up menus and files
      </h1>
      <h2>
        Pop-up menu
      </h2>
      <p>
        The pop-up menu for memory includes four options in addition to the options common to all components:
      </p>
      <dl>
        <dt>
          <b>Edit Contents:</b>
        </dt>
        <dd>
           Bring up a <a href="mem-hex.html">hex editor</a> for editing the contents of memory.
        </dd>
        <dt>
          <b>Clear Contents:</b>
        </dt>
        <dd>
            Resets all values in memory to 0 and for RAM to 0 or randomly depending on the parameters in <a href="../opts/index.html">Project options </a>. 
        </dd>
        <dt>
          <b>Load Image...:</b>
        </dt>
        <dd>
            Resets all values in memory to the values found in a file. The file format is recognized automatically and if it is not the case a <a href="mem-filepanel.html">window Memory file panel</a> opens for an appropriate selection.
        </dd>
        <dt>
          <b>Save Image...:</b>
        </dt>
        <dd>
             Stores all values in memory in a file using one of the formats described below.
        </dd>
      </dl>
      <h2>
        File format
      </h2>
       <ul>
        <li>
          <b><a href="mem-v2raw.html">v2.0 raw</a></b> Historical version of logisim allows "run.length" coding.
        </li>
        <li>
          <b><a href="mem-v3word.html">v3.0 hex words plain</a></b> Close to v2.0 word structured.
        </li>
        <li>
          <b><a href="mem-v3word.html#addr">v3.0 hex words addressed</a></b> As before with the possibility to define a start address for each line of the file.
        </li>
        <li>
          <b><a href="mem-v3byte.html">v3.0 hex bytes plain big-endian</a></b><br>
          <b><a href="mem-v3byte.html#addr">v3.0 hex bytes plain little-endian</a></b> Organized in byte streams.
        </li>
        <li>
          <b><a href="mem-v3byte.html#little">v3.0 hex bytes addressed big-endian</a></b><br>
          <b><a href="mem-v3byte.html#little">v3.0 hex bytes addressed little-endian</a></b> Organized in byte flow as before with the possibility to define an address.
        </li>
        <li>
          <b><a href="mem-vbinary.html#">Binary data big-endian</a></b><br>
          <b><a href="mem-vbinary.html#">Binary data little-endian</a></b> Image of the memory uncoded in hexadecimal.
        </li>
        <li>
          <b><a href="mem-vascii.html">Ascii byte escape big-endian</a></b><br>
          <b><a href="mem-vascii.html">Ascii byte escape little-endian</a></b> ASCII encoded file with escape code, as in C for non-printable characters.
        </li>
        </ul>
		<p>
		  
		</p>
      <p>
        <b>Next:</b> <a href="mem-filepanel.html">Memory file panel</a>.
      </p>
    </div>
  </body>
</html>
